cmake_minimum_required(VERSION 3.5)

project(EconomyPlugin LANGUAGES CXX C VERSION 1.0.0)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)

set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS OFF)

add_library(${PROJECT_NAME} SHARED 
    EconomyPlugin.cpp
    EconomyPlugin.h
    EconomyAPI.cpp
    EconomyAPI.h

    EconomyHome/EconomyHome.cpp

    EconomyLand/EconomyLand.cpp
    EconomyLand/LandPlayerEvent.cpp

    EconomyShop/EconomyShop.cpp

    # EconomyShop/EconomyShop.cpp
    # EconomyShop/EconomyShop.h
)

target_link_libraries(${PROJECT_NAME} PUBLIC PocketSurvival)
